AskYesNo ("Learner Management files have been installed in the coures subdirectory. Are you sure that you want to remove the course with these files?", NO );
if ( LAST_RESULT = NO )
then
szText = "To save Learner Management files, move these files to a non-course directory. The files are currently in the ";
szText = szText + szUserPath;
szText = szText + "\ directory.";
MessageBox (szText, INFORMATION);
exit;
endif;
endif;
SetInfoWindow( "Information ", "file1.lis" );
ChangeDirectory( szDisk ^ "\\" ); // Allows removal if user is in
szText = "This is the last Skill Builder course on your system. Do you want to delete all the files in the Skill Builder directory and the program group from Windows?";
if ( AskYesNo( szText, YES) = NO )
then
return;
else
DeleteGroup ("NETG SB Courseware");
if (FindFile( szSBDir, "NE_USERS.FMT", szText ) = 0)
then
szText = "Learner Management files were found in the Skill Builder directory. Do you wish to leave the directory with these files?";